<?php if($this->pageCount){
	if(isset($this->previous))
	{
		echo '<a href="'.$this->url(array('page'=>$this->previous)) .'"> Trước </a>';
	}
	foreach ($this->pagesInRange as $page){
		if($page!=$this->current){
			echo '<a href="'.$this->url(array('page'=>$page)).'">'.$page.'</a>';
		}
		else
			echo $page .'|';
	}
	if(isset($this->next)){
		echo '<a href="'.$this->url(array('page'=>$this->next)).'"> Sau</a>';
	}

}?>